Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-apply referencing IEEE schemas #28

Merged
merged 3 commits into from
Jul 29, 2023

Conversation

emersonf
Copy link
Member

@emersonf emersonf commented Jul 29, 2023

Problem

The previous attempt at updating Open mHealth schemas to use IEEE standard schemas resulted in failed validations in the CI workflow on GitHub Actions.

Solution

The failure only manifests when using newer versions of the jsonschema library. CI was pulling the latest libraries, but running the validator locally used an older cached version. So validation passed locally but failed on CI.

While the issue surfaces in newer versions of the jsonschema library, it's unclear what causes it. To unblock things, a requirements.txt file has been introduced that specifies an older working version of the jsonschema dependency and the CI pipeline has been updated to use it. Instructions have also been updated in README.md.

Miscellaneous

The GitHub Actions CI workflow was allowing PRs to be merged to main even if validation failed. A protected branch check has been added, a PR can no longer be merged if validation is failing.

@emersonf emersonf merged commit 076a754 into main Jul 29, 2023
2 checks passed
@emersonf emersonf deleted the feature/try-to-reference-ieee-again branch July 29, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant